﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace WasaWasa
{
    class UserListBundle : IBundle
    {
        public UserListType Type { get; set; }
        public int SelectedIndex { get; set; }
        public UserClass SelectedItem
        {
            get { return Users[SelectedIndex]; }
        }
        public string Name { get; set; }
        public string ApiPath { get; set; }
        public ObservableCollection<UserClass> Users { get; private set; }
        public int RemainedTime { get; set; }

        public bool IsLoaded { get; set; }
        public DateTime LastLoaded { get; set; }
        public int LastLoadedCount { get; set; }

        public UserListBundle()
        {
            Users = new ObservableCollection<UserClass>();
        }
    }

    public enum UserListType
    {
        Other,
        Friends,
        Followers,
        Footprints,
    }
}
